package Classadapter;

/**
 * @Author Big_white
 * @Date 2021/11/7
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("====类适配器====");
        Phone phone=new Phone();
        phone.charging(new VoltageAdapter());
    }
}
